//
//  GBNetToolOperation.m
//  GBNetWork
//
//  Created by chenguibang on 16/3/3.
//  Copyright © 2016年 Chen. All rights reserved.
//

#import "GBNetToolOperation.h"

@implementation GBNetToolOperation

+(GBNetToolOperation *)defaultOperation{
    static dispatch_once_t onceToken;
    static GBNetToolOperation *defaultOpt;
    dispatch_once(&onceToken, ^{
        defaultOpt = [[self alloc]init];

    });
    return defaultOpt;
}
- (instancetype)init
{
    self = [super init];
    if (self) {
        self.showHud = NO;
        self.enCompres = YES;
        self.encryptDES = NO;
        self.cachePolicy = GBCachePolicyNone;
        self.thirdServer = NO;
        self.debugRequestMode= GBDebugzModeRequestNone;
        self.debugResposeMode = GBDebugzModeResposeNone;
    }
    return self;
}

@end
